package com.ruoyi.system.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

public class TmcUserCarcode extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * $column.columnComment
     */
    private Long carId;

    /**
     * 用户ID
     */
    @Excel(name = "用户ID")
    private Long publicuserId;

    /**
     * 手机号
     */
    @Excel(name = "手机号")
    private String userPhone;

    /**
     * 车牌号
     */
    @Excel(name = "车牌号")
    private String carnum;

    public Long getCarId() {
        return carId;
    }

    public void setCarId(Long carId) {
        this.carId = carId;
    }

    public void setPublicuserId(Long publicuserId) {
        this.publicuserId = publicuserId;
    }

    public Long getPublicuserId() {
        return publicuserId;
    }

    public void setUserPhone(String userPhone) {
        this.userPhone = userPhone;
    }

    public String getUserPhone() {
        return userPhone;
    }

    public void setCarnum(String carnum) {
        this.carnum = carnum;
    }

    public String getCarnum() {
        return carnum;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getCarId())
                .append("publicuserId", getPublicuserId())
                .append("userPhone", getUserPhone())
                .append("carnum", getCarnum())
                .toString();
    }
}